{% load humanize %}
<li class="accordion-navigation">
  <a href="#{{ node.uid }}">
    {{ node.name }} <span class="right">{{ node.count|intcomma }}</span>
  </a>
  <div id="{{ node.uid }}" class="content">
    <div class="row">
      <div class="small-12 columns">
        {{ node.name }}
        <span class="right">
          {{ node.count|intcomma }}
        </span>
        {% if node.children %}
          {% for ch in node.children %}
            {% with node=ch template_name="reports/report_tree.html" %}
              <ul class="accordion" data-accordion>
                {% include template_name %}
              </ul>
            {% endwith %}
          {% endfor %}
        {% endif %}
      </div>
    </div>
  </div>
</li>
